package org.example.service;

import org.example.model.User;

public interface UserService {

    /**
     * 验证用户名密码是否正确
     * @param username
     * @param password
     * @return
     */
    boolean validateUser(String username, String password);

    /**
     *
     * @param username
     * @return
     */
    User getUserByUsername(String username);
}
